package com.hllxd.hism.star.basic.service.model.dapan;

import lombok.Data;

import java.util.List;

/**
 * author: xiyong.lxy
 * date: 2018-7-7 9:59
 * 返回-指标的实体
 */
@Data
public class QuotaResult {
    // 指标的列表情况
    List<QuotaEntity> quotaEntityList;

    List<List<Object>> countPoints;
    List<List<Object>> amountPoints;

    public static QuotaResult build(List<QuotaEntity> quotaEntityList) {
        QuotaResult thiz = new QuotaResult();
        thiz.quotaEntityList = quotaEntityList;
        return thiz;
    }
    public static QuotaResult buildPoints(QuotaResult thiz,List<List<Object>> countPoints,List<List<Object>> amountPoints) {
        thiz.setCountPoints(countPoints);
        thiz.setAmountPoints(amountPoints);
        return thiz;
    }
}
